// ActionScript file
import flash.events.Event;
import flash.events.InvokeEvent;

private function onCreateCompleteHandler(event:Event):void
{
	//_lbl_test.text = "Hello Google Code!!!";
	
	NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, invokeHandler);
	
	var picwnd:PiCaluculateWindow = new PiCaluculateWindow();
	picwnd.open(true);
}

private function invokeHandler(event:InvokeEvent):void
{
	if( event.arguments.length > 0 )
		_lbl_test.text = event.arguments.join(",");
	else
		_lbl_test.text = "none";
}